﻿using SqlSugar;


namespace WebAssistant.BusinessLogic.Model
{
    [SugarTable("users")]
    public class Users
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        [SugarColumn(ColumnName = "user_id")]
        public int UserId { get; set; }

        /// <summary>
        /// 用户登录名
        /// </summary>
        [SugarColumn(ColumnName = "login", IsNullable = false)]
        public string Login { get; set; }
 

        /// <summary>
        /// 用户名称
        /// </summary>
        [SugarColumn(ColumnName = "name", IsNullable = true)]
        public string Name { get; set; }
    }
}
